import game from './game'
function preload() {
    console.log("加载资源");
    game.load.image('sky', 'assets/sky.png');// 天空
    game.load.image('ground', 'assets/platform.png');
    game.load.image('star', 'assets/star.png');// 星星
    game.load.image('ball', 'assets/shinyball.png');// 小球
    game.load.spritesheet('dude', 'assets/dude.png', 32, 48);
    
}

export default preload;